package com.iran.visitor.example;

public class Fail extends State {
    @Override
    public void getMan(Man man) {
        System.out.println(man.getClass().getName()+this.getClass().getName());
    }

    @Override
    public void getWoman(Woman woman) {
        System.out.println(woman.getClass().getName()+this.getClass().getName());
    }
}
